package com.admin.generator.domain.vo;

import com.admin.common.core.domain.PageQuery;
import com.admin.generator.domain.GenTable;
import lombok.Data;

import java.util.Date;

/**
 * 查询对象
 *
 * @author admin
 * @date 2025/6/10 10:20
 */
@Data
public class GenTableQuery extends GenTable {
    private static final long serialVersionUID = 1L;

    /**
     * ids，按勾选导出时使用
     */
    private Long[] ids;
    
    private Date beginTime;

    private Date endTime;

    /**
     * 分页对象
     */
    private PageQuery page;

    public PageQuery getPage() {
        if (page == null) {
            page = new PageQuery();
        }
        return page;
    }
}
